<template>
  <div class="phone_view">
    <div class="header">
      <div class="ztl">
        <img src="@/assets/didaima/phoneTopBg.png" alt="" />
      </div>
    </div>
    <div class="content">
      <slot></slot>
    </div>
    <!-- <img class="phone_view--state" src="@/assets/didaima/phoneTop.png" alt="" /> -->
  </div>
</template>

<script setup></script>

<style lang="less" scoped>
  .header {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    .ztl {
      width: 100%;
      img {
        width: 100%;
      }
    }
  }
  .content {
    overflow-y: auto;
    height: 640px;
    padding: 2px 0px 66px;
    box-sizing: border-box;
  }
  .phone_view {
    position: relative;
    width: 400px;
    height: 690px;
    border-color: white;
    box-shadow: 0 0 14px 0 rgb(0 0 0 / 10%);
    margin: 0 auto;
    padding-top: 45px;
  }
  .content::-webkit-scrollbar {
    display: none;
  }
  .phone_view--state {
    width: 400px;
  }
</style>
